CFLAG= -L ../../../build/release-install-cpp11/lib/ -lpthread
FFLAG= -I ../../../build/release-install-cpp11/include/ -ljsoncpp  -lmuduo_net -lmuduo_base -lpthread 
all:rpc_server rpc_client registry_server
rpc_server:rpc_server.cpp
	g++ -g -o $@ $^ -std=c++11 $(CFLAG) $(FFLAG) -g 
rpc_client:rpc_client.cpp
	g++ -o $@ $^ -std=c++11 $(CFLAG) $(FFLAG) -g
registry_server:registry_server.cpp
	g++ -o $@ $^ -std=c++11 $(CFLAG) $(FFLAG) -g
.PHONY:clean
clean:
	rm -f rpc_server rpc_client registry_server